\hypertarget{classsupport_1_1geoip_1_1get_location}{\section{get\-Location Class Reference}
\label{classsupport_1_1geoip_1_1get_location}\index{get\-Location@{get\-Location}}
}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classsupport_1_1geoip_1_1get_location_ac775ee34451fdfa742b318538164070e}{\-\_\-\-\_\-init\-\_\-\-\_\-}
\item 
def \hyperlink{classsupport_1_1geoip_1_1get_location_aa7a4b9bc0941308e362738503137460e}{\-\_\-\-\_\-str\-\_\-\-\_\-}
\item 
def \hyperlink{classsupport_1_1geoip_1_1get_location_a76fc5fc994d388846a58943ee699d35f}{get\-Country}
\item 
def \hyperlink{classsupport_1_1geoip_1_1get_location_a3b01249aa1b2515d0059e9216b74fa9f}{get\-City}
\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classsupport_1_1geoip_1_1get_location_afd65cf072a93c93ad52b9f25b341e10b}{ip}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyVerb}Gets the location of a given IP. It can output IP Country
or IP Country and City details.

Keyword arguments:
ip -- IP to search location for
\end{DoxyVerb}
 

Definition at line 9 of file geoip.\-py.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classsupport_1_1geoip_1_1get_location_ac775ee34451fdfa742b318538164070e}{\index{support\-::geoip\-::get\-Location@{support\-::geoip\-::get\-Location}!\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-init\-\_\-\-\_\-@{\-\_\-\-\_\-init\-\_\-\-\_\-}!support::geoip::getLocation@{support\-::geoip\-::get\-Location}}
\subsubsection[{\-\_\-\-\_\-init\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def \-\_\-\-\_\-init\-\_\-\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{ip}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1geoip_1_1get_location_ac775ee34451fdfa742b318538164070e}
\begin{DoxyVerb}Default Constructor\end{DoxyVerb}
 

Definition at line 18 of file geoip.\-py.



\subsection{Member Function Documentation}
\hypertarget{classsupport_1_1geoip_1_1get_location_aa7a4b9bc0941308e362738503137460e}{\index{support\-::geoip\-::get\-Location@{support\-::geoip\-::get\-Location}!\-\_\-\-\_\-str\-\_\-\-\_\-@{\-\_\-\-\_\-str\-\_\-\-\_\-}}
\index{\-\_\-\-\_\-str\-\_\-\-\_\-@{\-\_\-\-\_\-str\-\_\-\-\_\-}!support::geoip::getLocation@{support\-::geoip\-::get\-Location}}
\subsubsection[{\-\_\-\-\_\-str\-\_\-\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}def \-\_\-\-\_\-str\-\_\-\-\_\- (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1geoip_1_1get_location_aa7a4b9bc0941308e362738503137460e}
\begin{DoxyVerb}Default String Output\end{DoxyVerb}
 

Definition at line 22 of file geoip.\-py.

\hypertarget{classsupport_1_1geoip_1_1get_location_a3b01249aa1b2515d0059e9216b74fa9f}{\index{support\-::geoip\-::get\-Location@{support\-::geoip\-::get\-Location}!get\-City@{get\-City}}
\index{get\-City@{get\-City}!support::geoip::getLocation@{support\-::geoip\-::get\-Location}}
\subsubsection[{get\-City}]{\setlength{\rightskip}{0pt plus 5cm}def get\-City (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1geoip_1_1get_location_a3b01249aa1b2515d0059e9216b74fa9f}
\begin{DoxyVerb}Returns the IP's City if it's in the database. If not, returns Unknown with 0 lat. and long.\end{DoxyVerb}
 

Definition at line 35 of file geoip.\-py.

\hypertarget{classsupport_1_1geoip_1_1get_location_a76fc5fc994d388846a58943ee699d35f}{\index{support\-::geoip\-::get\-Location@{support\-::geoip\-::get\-Location}!get\-Country@{get\-Country}}
\index{get\-Country@{get\-Country}!support::geoip::getLocation@{support\-::geoip\-::get\-Location}}
\subsubsection[{get\-Country}]{\setlength{\rightskip}{0pt plus 5cm}def get\-Country (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)}}\label{classsupport_1_1geoip_1_1get_location_a76fc5fc994d388846a58943ee699d35f}
\begin{DoxyVerb}Returns the IP's Country if it's in the database. If not, returns Unknown\end{DoxyVerb}
 

Definition at line 26 of file geoip.\-py.



\subsection{Field Documentation}
\hypertarget{classsupport_1_1geoip_1_1get_location_afd65cf072a93c93ad52b9f25b341e10b}{\index{support\-::geoip\-::get\-Location@{support\-::geoip\-::get\-Location}!ip@{ip}}
\index{ip@{ip}!support::geoip::getLocation@{support\-::geoip\-::get\-Location}}
\subsubsection[{ip}]{\setlength{\rightskip}{0pt plus 5cm}ip}}\label{classsupport_1_1geoip_1_1get_location_afd65cf072a93c93ad52b9f25b341e10b}


Definition at line 20 of file geoip.\-py.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
D\-:/vmware shared folder/\-L\-P\-D/trunk/src/\-Log Analyser/support/geoip.\-py\end{DoxyCompactItemize}
